package com.wao.editor.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 百度ueditor配置
 */
@ConfigurationProperties(prefix = "wao.ueditor")
public class WaoUeditorProperties {

    private String config = "{}";

    private String baseUrl;

    private String uploadDirPrefix = "ueditor/file/";

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public String getBaseUrl() {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl) {
        this.baseUrl = baseUrl;
    }

    public String getUploadDirPrefix() {
        return uploadDirPrefix;
    }

    public void setUploadDirPrefix(String uploadDirPrefix) {
        this.uploadDirPrefix = uploadDirPrefix;
    }
}
